with open('data2.csv', 'r', encoding='utf-8') as f:
    lt = f.readlines()
    print(lt[0])
    str = lt[0].replace(',', ' varchar(50) not null,')
    str = str[:-2]
    print(str)